package com.kingyun.gpsinspection.purificationservice.dao.mapper.som;


import com.kingyun.gpsinspection.purificationservice.facade.model.som.StationIn;

import java.util.List;

/**
 * 进站信息mapper
 */
public interface StationInMapper {

    /**
     * 插入信息
     * @param record
     * @return
     */
    int insert(StationIn record);

    /**
     * 根据组织id查询进出站信息
     * @param orgId
     * @return
     */
    List<StationIn> queryByOrgId(String orgId);

    /**
     * 查询单个进出站信息
     * @param stationIn
     * @return
     */
    StationIn queryStationIn(StationIn stationIn);

    /**
     * 修改信息
     * @param stationIn
     * @return
     */
    int updateStatus(StationIn stationIn);

    List<StationIn> queryList(StationIn stationIn);

    int queryCount(StationIn stationIn);

}